package main

import (
	"time"

	"gitee.com/project1/mylogger"
)

func main() {
	filepath := "../test12/"
	filelog := mylogger.NewFileLogger("error", filepath)
	for {
		filelog.INFO("2222this is info message")
		filelog.TRACE("2222this is trace message")
		filelog.DEBUG("2222this is debug message")
		a := 555555
		filelog.WARNING("222this is error message  ", a)
		filelog.ERROR("222this is error message ")
		filelog.FATAL("222this is fatal message")
		time.Sleep(time.Second * 2)
	}

}
